#pragma once

#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h>
#include <stdlib.h>

#ifdef __cplusplus
}
#endif

#include <opencv2/opencv.hpp>

//#define rtsprintf printf
#define rtsprintf

#define GDB_RED       "\033[1;32;31m"     //ERROR
#define GDB_VIOLET    "\033[1;32;35m"     //WARN
#define GDB_END 	  "\033[m"

#define MAX_STREAM_URI_LEN  256

typedef unsigned char BYTE;

enum 
{
    VS_NULL = -1,
    VS_OK,
	VS_DESCRIBE_ERROR,
	VS_SETUP_ERROR,
	VS_FFH264_ERROR,
    VS_NO_H264,
    VS_PLAY_ERROR,
	VS_DECODEC_ERROR,
	VS_TREARDOWN_ERROR,
    VS_CLOSE
};


